package main

import "fmt"

func main() {
	var a = new([]int)          //nil
	fmt.Println("a = ", a)      //&[]
	fmt.Printf("a = %v\n", a)   //&[]
	fmt.Printf("a 类型= %T\n", a) //*[]int

	var b = make([]int, 0) //[]int
	fmt.Println(b)         //[]

	type s struct {
	}
	var c = new(s)
	fmt.Printf("c = %v\n", c) //c = &{}

	var d = &s{}
	fmt.Printf("d = %v\n", d) //d = &{}

	var e = s{}
	fmt.Printf("e = %v\n", e) //e = {}

}
